package com.hhkj.admin.bank.model.res;

import com.hhkj.admin.bank.model.dopo.BankRulePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * BankRuleRes
 *
 * @author HHKJ-SERVER-ZJ
 * @since 2023/6/13 12:16
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BankRuleRes extends BankRulePo
{

    /** 下级规则列表 */
    private List<BankRuleRes> children;

    public BankRuleRes(Long courseId, String courseName)
    {
        this.setCourseId(courseId);
        this.setCourseName(courseName);
    }
}
